﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SlideOto.ascx.cs" Inherits="UserControls_SlideOto" %>
<%@ Import Namespace="BLL" %>
<script runat="server">
    SlideShowBLL dataSlide = new SlideShowBLL();
    </script>

                    <div class="gallery">
						<div id="slider" class="nivoSlider">
                        <%
                            var listImage = dataSlide.GetByPosition(1,5);
                            foreach (var item in listImage)
                            {
                                string name = item.Name;
                                string image = item.Image;
                                %>
                                <img src="/Images/SlideShow/<%=image %>" alt="<%=name %>" />
                                <%
                            }
                             %>
						</div>
                        <div id="ok">
							<img src="/Images/slide-bg.jpg" alt="slide" />
						</div>
					</div><!--End .gallery-->
